onTextContextMenuItem

If a listener is set, uses it to execute the "Paste" and "Paste as plain text" menu actions.